<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Helpers.PrettyPrint</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Helpers-PrettyPrint.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Helpers.PrettyPrint</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>PrettyPrint provides tools for colored output to the terminal
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AputColorStr"
>putColorStr</A
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; String -&gt; IO ()</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AputColorStrLn"
>putColorStrLn</A
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; String -&gt; IO ()</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AputColorBStr"
>putColorBStr</A
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; ByteString -&gt; IO ()</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AputColorBStrLn"
>putColorBStrLn</A
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; ByteString -&gt; IO ()</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AColor"
>Color</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ABlack"
>Black</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ARed"
>Red</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AGreen"
>Green</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AYellow"
>Yellow</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ABlue"
>Blue</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AMagenta"
>Magenta</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ACyan"
>Cyan</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AWhite"
>White</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AReset"
>Reset</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:putColorStr"
><A NAME="v%3AputColorStr"
></A
></A
><B
>putColorStr</B
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; String -&gt; IO ()</TD
></TR
><TR
><TD CLASS="doc"
>print a colored string to the terminal
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:putColorStrLn"
><A NAME="v%3AputColorStrLn"
></A
></A
><B
>putColorStrLn</B
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; String -&gt; IO ()</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:putColorBStr"
><A NAME="v%3AputColorBStr"
></A
></A
><B
>putColorBStr</B
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; ByteString -&gt; IO ()</TD
></TR
><TR
><TD CLASS="doc"
>print a colored ByteString to the terminal
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:putColorBStrLn"
><A NAME="v%3AputColorBStrLn"
></A
></A
><B
>putColorBStrLn</B
> :: <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
> -&gt; ByteString -&gt; IO ()</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:Color"
><A NAME="t%3AColor"
></A
></A
><B
>Color</B
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>available colors
</TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:Black"
><A NAME="v%3ABlack"
></A
></A
><B
>Black</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Red"
><A NAME="v%3ARed"
></A
></A
><B
>Red</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Green"
><A NAME="v%3AGreen"
></A
></A
><B
>Green</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Yellow"
><A NAME="v%3AYellow"
></A
></A
><B
>Yellow</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Blue"
><A NAME="v%3ABlue"
></A
></A
><B
>Blue</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Magenta"
><A NAME="v%3AMagenta"
></A
></A
><B
>Magenta</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Cyan"
><A NAME="v%3ACyan"
></A
></A
><B
>Cyan</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:White"
><A NAME="v%3AWhite"
></A
></A
><B
>White</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:Reset"
><A NAME="v%3AReset"
></A
></A
><B
>Reset</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Color')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Color" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
>Enum <A HREF="Helpers-PrettyPrint.html#t%3AColor"
>Color</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.4.2</TD
></TR
></TABLE
></BODY
></HTML
>
